package com.example.demo20250517.mapper;

import com.example.demo20250517.domain.Question;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
* @author banban
* @description 针对表【question】的数据库操作Mapper
* @createDate 2025-05-17 10:33:17
* @Entity generator.domain.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    @Update("update question set is_delete = 1 where  id = #{id}")
    int deleteQuestion(@Param("id") Long id);
}




